App.loading(false);
comments_box = $("#<%= @comment.commentable_type %>_<%= @comment.commentable_id %>_cell_comments .panel-body");
comments_form = $("#<%= @comment.commentable_type %>_<%= @comment.commentable_id %>_cell_new_comment");
<% if @success %>
comment_line = '<%= j(render("comment", item: @comment)) %>';
comments_box.append(comment_line);
$(comment_line).fadeOut("fast");
comments_box.find('.no-result').remove();
$("abbr.timeago").timeago();
$("textarea",comments_form).val("").focus();
<% else %>
$("textarea",comments_form).focus();
<% end %>
